<template>
    <div class="field-control field-check">
        <Checkbox :name="name" :disabled="disabled" :value="value" @on-change="valueInput"></Checkbox>
        <div class="field-message" v-show="!validate">{{message}}</div>
    </div>
</template>
<script>
import base from './base'
export default {
    extends: base
}
</script>
<style lang="less">
.field-check {
    text-align: center;
    .ivu-checkbox-wrapper {
        margin: 0
    }
}
</style>
